﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Cars
    {
        private string brand;
        public string Brand
        {
            get
            {
                return this.brand;
            }
            set
            {
                this.brand = value;
            }
        }

        public Cars(string brand)
        {
            this.Brand = brand;
        }

        public void Run()
        {
            Console.WriteLine($"{brand}会跑");
        }
    }
}
